home *** CD-ROM | disk | FTP | other *** search
/ Chip 2006 June (Extra) / CHIP 2006-06.3.iso / program / opensource / clamav-devel.exe / thirdparty / runclamscan / runclamscan_readme.txt next >
Encoding:
Text File  |  2004-09-29  |  1.8 KB  |  55 lines

  1.  
  2. change log:
  3.     2004-04-03 initial adaptation to declude - seems to work
  4.     2004-04-07 public
  5.     2004-04-08 not working - rewrite
  6.                1.3.8.0 - working now
  7.  
  8.     2004-04-09 1.4.1.0
  9.                 added message file name to log
  10.                 added message size to log
  11.                1.4.2.0
  12.                 made certain to delete any old report.txt
  13.  
  14.     2004-09-29 1.4.3.0
  15.                 revised to pass all parms on cfg line to the clam(d)scan exe
  16.                 Note that the cfg line must end with -l report.txt
  17.                 (thanks to Brad Morgan for input and testing)
  18.  
  19.  
  20. This program is just a wrapper calling clamscan or clamdscan to return the correct
  21. virus name to declude.
  22.  
  23. Place the program in your declude directory or any convenient place.
  24. Edit declude virus.cfg file to use it:
  25.  
  26. SCANFILE3 C:\imail\declude\runclamscan.exe log=1 C:\clamav-devel\bin\clamdscan.exe --quiet --mbox -l report.txt
  27. VIRUSCODE3 1
  28. REPORT3 FOUND
  29.  
  30. where everything past log=2 is the line from the declude file.
  31.  
  32. Use clamscan.exe if you do not want it to attempt clamdscan.exe
  33. If you use clamdscan it will still check to see if clamdscan is
  34. running (at least for now - may change this later).
  35.    log=0 (no logging)
  36.    log=1 (minimal logging only date, time, elapsed times, viruses)
  37.    log=2 (log all messages same as 1)
  38.    log=3 (debug log - whole bunch of stuff - multiple lines)
  39.    anything else is no logging
  40.  
  41. Example log lines for 1 and 2:
  42. 04-08-2004 15:56:20 0.1000,0.020,0.070  0
  43. 04-08-2004 16:48:22 0.0900,0.020,0.070 Worm.SomeFool.P 87 dc89b170e004cd247.smd 5222
  44.  
  45. (date & time) (elapsed times) (virus name if any) (bytes of report.txt) imail_smd_file byte_size
  46.  
  47. Elapsed times:
  48.   1st is total elapsed time
  49.   2nd is elapsed time to check if clamd is running
  50.   3rd is elapsed time to scan
  51.  
  52. About the only thing this really does is fix it so declude can get the
  53. name of the virus.
  54.  
  55.